﻿using System;
using TinyMoney.Domain.Interfaces;

namespace TinyMoney.Domain
{
    public class CashFlow : ICashFlow
    {
        public virtual Guid Id { get; private set; }
        public virtual DateTime FlowDate { get; private set; }
        public virtual ICurrency Currency { get; private set; }
        public virtual double Amount { get; private set; }

        public CashFlow(Guid id, DateTime flowDate, ICurrency currency, double amount)
        {
            Id = id;
            FlowDate = flowDate;
            Currency = currency;
            Amount = amount;
        }
    }
}
